package com.party.core.service.mall;

import com.party.core.model.mall.MallCategoryBrand;
import com.party.core.service.IBaseService;

import java.util.List;

/**
 * @Author: Administrator.
 * @Description: 商城分类规格服务接口
 * @Date:Created in 2017/8/22 0022 下午 15:13.
 */
public interface IMallCategoryBrandService extends IBaseService<MallCategoryBrand> {
    void deleteByUnique(MallCategoryBrand mallCategoryBrand);

    List<MallCategoryBrand> findByBrandId(String brandId);

    MallCategoryBrand getUnique(MallCategoryBrand mallCategoryBrand);

    List<MallCategoryBrand> findByCategoryId(String categoryId);

    void deleteByCategoryId(String categoryId);
}
